﻿using System;
/*
 * A company has name, address, phone number, fax number, web site and manager.
 * The manager has first name, last name, age and a phone number. 
 * Write a program that reads the information about a company and its manager and prints them on the console.
 */

class CompanyDataReadAndWrite
{
    static void Main(string[] args)
    {
        Console.WriteLine("Enter the name of the company");
        string companyName = Console.ReadLine();
        Console.WriteLine("Enter the address of the company");
        string companyAddress = Console.ReadLine();
        Console.WriteLine("Enter the phone number of the company");
        string companyPhoneNumber = Console.ReadLine();
        Console.WriteLine("Enter the fax number of the company");
        string companyFaxNumber = Console.ReadLine();
        Console.WriteLine("Enter the web site of the company");
        string companyWebSite = Console.ReadLine();
        Console.WriteLine("Enter the first name of the manager of the company");
        string managerFisrtName = Console.ReadLine();
        Console.WriteLine("Enter the last name of the manager of the company");
        string managerLastName = Console.ReadLine();
        Console.WriteLine("Enter the age of the manager of the company");
        string managerAge = Console.ReadLine();
        Console.WriteLine("Enter the phone number of the manager of the company");
        string managerPhoneNumber = Console.ReadLine();

        Console.WriteLine("\nCompany Data:");
        Console.WriteLine("Name: {0}",companyName);
        Console.WriteLine("Address: {0}", companyAddress);
        Console.WriteLine("Phone Number: {0}",companyPhoneNumber);
        Console.WriteLine("Fax Number: {0}",companyFaxNumber);
        Console.WriteLine("WEB Site: {0}", companyWebSite);
        Console.WriteLine("\nManager Data:");
        Console.WriteLine("Name: {0} {1}",managerFisrtName,managerLastName);
        Console.WriteLine("Age: {0}",managerAge);
        Console.WriteLine("Phone: {0}",managerPhoneNumber);
    }
}
